import { anyItem } from '../types/order'
import { IntegralItem } from '../types/integral'
import { TestData } from '../types/mock'

export interface TestItem {
	region: string
	img: string
	distance: string
	[key: string]: any
}

export const mockIntegralList: IntegralItem[] = [
	{
		id: '1',
		title: '消费获得',
		time: '2024-03-15 12:30',
		amount: 8,
		type: 'add'
	}
	// ... other integral items
]

export const mockCouponList = [
	{
		id: '1',
		name: '抽奖券',
		time: '2024-12-31'
	},
	{
		id: '1',
		name: '抽奖券',
		time: '2024-12-31'
	},
	{
		id: '1',
		name: '抽奖券',
		time: '2024-12-31'
	}
]

export const mockStoreCouponList:anyItem = [
	{
		name: '中国石油加油卡',
		time: '2025-03-05',
		account: 60,
		isShow: false,
		chirendList: [
			{
				name: '中国石油加油卡',
				time: '2025-06-05',
				account: 200,
			},
			{
				name: '中国石油加油卡',
				time: '2025-03-05',
				account: 5000,
			}
		]
	},
	{
		name: '京东购物卡',
		time: '2025-03-05',
		number: 5,
		account: 60,
		isShow: false,
		chirendList: [
			{
				name: '京东购物卡',
				time: '2025-04-01',
				account: 50,
			},
			{
				name: '京东购物卡',
				time: '2025-08-15',
				account: 100,
			}
		]
	}
]

const mockTestData: TestData = {
	MEISHI: [
		{
			img: 'https://p0.meituan.net/biztone/95718974_1687143570668.jpeg%40300w_1e_1l%7Cwatermark%3D0.webp',
			name: '王爷府鲜羊涮',
			introduce: '-',
			distance: '2.1km',
			region: '王爷府鲜羊涮(万达店)',
			phone: '0476-8830001',
			detail: {
				img: 'https://p0.meituan.net/biztone/95718974_1687143570668.jpeg%40300w_1e_1l%7Cwatermark%3D0.webp',
				name: '王爷府鲜羊涮',
				time: '10:30-22:00',
				phone: '0476-8830001',
				price: 0,
				location: '松山区-宝山路万达广场水岸天街西段（万达嘉华后身）',
				distance: '2.1km',
				singleList: [{
						img: 'https://qcloud.dpfile.com/pc/OzAw1ZG2C3eQn-7Kp8flOxu9UOnZ-nwIKhRMbNYI9VMsZlxvEhjgdNXYWzeu-SYprN2OTQBCkke2ZGfpZ5SDFFEuLYk00OmSS1IdNpm8K8sG4JN9RIm2mTKcbLtc2o2vmIU_8ZGOT1OjpJmLxG6urQ.jpg',
						title: '苏尼特手切羊腿肉'
					},
					{
						img: 'https://qcloud.dpfile.com/pc/GaAW8mcCAK4_xTcd9j6bI1d-xmndZZGs9k4C-xlkCA4fL8Syu2VYB8L4J0OuHB33rN2OTQBCkke2ZGfpZ5SDFFEuLYk00OmSS1IdNpm8K8sG4JN9RIm2mTKcbLtc2o2vmIU_8ZGOT1OjpJmLxG6urQ.jpg',
						title: '苏尼特肋排卷肉'
					},
					{
						img: 'https://qcloud.dpfile.com/pc/jP3IvqCCJ_DyI22bEC5Ptyby1hH7Ef5i82MSQvfl_HQphJfrL7bpWNvTSHVIqFQMrN2OTQBCkke2ZGfpZ5SDFFEuLYk00OmSS1IdNpm8K8sG4JN9RIm2mTKcbLtc2o2vmIU_8ZGOT1OjpJmLxG6urQ.jpg',
						title: '鸳鸯双拼大锅'
					},
					{
						img: 'https://qcloud.dpfile.com/pc/T0E-WwVBeEfRR9yL2FZcZsRwPa_J1dzfDqx2-MXrb5YchVTUwgs16tFR7U48rkUtrN2OTQBCkke2ZGfpZ5SDFFEuLYk00OmSS1IdNpm8K8sG4JN9RIm2mTKcbLtc2o2vmIU_8ZGOT1OjpJmLxG6urQ.jpg',
						title: '苏尼特鲜切羊脖肉'
					}
				]
			}
		},
		{
			img: 'https://p0.meituan.net/biztone/eeb887ea041e4146cd29996f7181b821400866.jpg%40300w_1e_1l%7Cwatermark%3D0.webp',
			name: '赤峰宴',
			introduce: '-',
			distance: '1.1km',
			region: '赤峰宴',
			phone: '0476-8827777',
			detail: {
				img: 'https://p0.meituan.net/biztone/eeb887ea041e4146cd29996f7181b821400866.jpg%40300w_1e_1l%7Cwatermark%3D0.webp',
				name: '赤峰宴',
				time: '09:00-22:300',
				phone: '0476-8827777',
				price: 0,
				location: '红山区-西拉沐沦大街以北万达广场A地块5号楼02021号',
				distance: '1.1km',
				singleList: [{
						img: 'https://img1.baidu.com/it/u=619042065,2115030735&fm=253&fmt=auto&app=138&f=JPEG?w=735&h=500',
						title: '妈妈红烧肉'
					},
					{
						img: 'https://img0.baidu.com/it/u=4132957465,1879262092&fm=253&fmt=auto&app=120&f=JPEG?w=800&h=500',
						title: '赤峰锅包肉'
					},
					{
						img: 'https://img1.baidu.com/it/u=1827651846,2941629575&fm=253&fmt=auto&app=120&f=JPEG?w=1040&h=800',
						title: '飘香臭鳜鱼'
					},
					{
						img: 'https://img1.baidu.com/it/u=1764618231,2135348022&fm=253&fmt=auto&app=138&f=JPEG?w=684&h=1216',
						title: '古法神仙鸡'
					},
					{
						img: 'https://img2.baidu.com/it/u=23449337,712767439&fm=253&fmt=auto&app=120&f=JPEG?w=500&h=667',
						title: '压锅牛腩山药'
					},
					{
						img: 'https://img1.baidu.com/it/u=1977994880,3733307440&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=1069',
						title: '上汤菠菜'
					}
				]
			}
		},
		{
			img: 'https://dimg04.c-ctrip.com/images/1001180000014047bC1A7_R_228_10000.jpg',
			name: '蒙古苍狼蒙餐',
			introduce: '-',
			distance: '7.1km',
			region: '蒙古苍狼蒙餐',
				phone: '0476-8333999',
			detail: {
			img: 'https://dimg04.c-ctrip.com/images/1001180000014047bC1A7_R_228_10000.jpg',
				name: '蒙古苍狼蒙餐',
				time: '06:00-21:30',
				phone: '0476-8333999',
				price: 0,
				location: '新城区-天义路沃尔玛西门',
				distance: '7.1km',
				singleList: [{
						img: 'https://img2.baidu.com/it/u=2057980838,1714586714&fm=253&fmt=auto&app=120&f=JPEG?w=1199&h=800',
						title: '手把肉'
					},
					{
						img: 'https://img2.baidu.com/it/u=2714496268,4188208848&fm=253&fmt=auto&app=138&f=JPEG?w=833&h=500',
						title: '锅茶'
					},
					{
						img: 'https://img0.baidu.com/it/u=2546717236,4058894226&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500',
						title: '沙葱炒柴鸡蛋'
					},
					{
						img: 'https://img1.baidu.com/it/u=2024751961,4121621083&fm=253&fmt=auto&app=138&f=JPEG?w=577&h=413',
						title: '羊血肠'
					},
					{
						img: 'https://img0.baidu.com/it/u=1066604928,1915468420&fm=253&fmt=auto&app=138&f=JPEG?w=750&h=500',
						title: '奶豆腐'
					}
				]
			}
		}

	],
	
	DIANZI: [
		{
			img: 'https://14998559.s21i.faiusr.com/4/1/ABUIABAEGAAgurrPhgYopo3ZsQcwlAQ46AI!1000x1000.png.webp',
			name: '海达电器',
			introduce: '-',
			distance: '2.1km',
			region: '海达电器(赤峰总公司)',
			phone: '18038924732',
			detail: {
			img: 'https://14998559.s21i.faiusr.com/4/1/ABUIABAEGAAgurrPhgYopo3ZsQcwlAQ46AI!1000x1000.png.webp',
				name: '海达电器',
				time: '10:30-22:00',
				phone: '400-691-8999',
				price: 0,
				location: '红山区-哈达西街与昭乌达路交汇处',
				distance: '2.1km',
				singleList: [{
						img: 'https://14130458.s61i.faiusr.com/2/AD0ImrreBhACGAAgloSuygUo7reubzD0ATiWAQ.jpg.webp',
						title: 'A7RII'
					},
					{
						img: 'https://img30.360buyimg.com/n7/jfs/t1/192092/18/40741/63645/65377330F348c6839/a594a667e63a647e.jpg',
						title: '商用电磁炉'
					},
					{
						img: 'https://img30.360buyimg.com/n7/jfs/t1/166637/28/45412/59211/66448470F83e535dd/0ea25f9071c8aa76.jpg',
						title: '智能炒饭机'
					},
					{
						img: '	https://img30.360buyimg.com/n7/jfs/t1/249072/34/15065/66969/6692446cF32be2455/9e479adcc25b6baa.jpg',
						title: '恒温电烤机'
					}
				]
			}
		},
		{
			img: 'https://p0.meituan.net/biztone/eeb887ea041e4146cd29996f7181b821400866.jpg%40300w_1e_1l%7Cwatermark%3D0.webp',
			name: '苏宁易购',
			introduce: '-',
			distance: '5.6km',
			region: '苏宁易购(红山区)',
				phone: '0476-8338222',
			detail: {
			img: 'https://p0.meituan.net/biztone/eeb887ea041e4146cd29996f7181b821400866.jpg%40300w_1e_1l%7Cwatermark%3D0.webp',
				name: '苏宁易购',
				time: '09:00-22:300',
				phone: '0476-8338222',
				price: 0,
				location: '红山区-桥北钢材城D区北门对面院内陶可陶仓储三楼',
				distance: '5.6km',
				singleList: [{
						img: 'https://image1.suning.cn/uimg/cms/img/168448821643808137.png?format=is',
						title: '冰箱'
					},
					{
						img: 'https://image1.suning.cn/uimg/cms/img/168448823215005121.png?format=is',
						title: '热水器'
					},
					{
						img: 'https://image3.suning.cn/uimg/cms/img/168448825139252256.png?format=is',
						title: '电视'
					},
					{
						img: 'https://imgservice.suning.cn/uimg1/b2c/image/RFLvrQWbCrdnf_aYEfF8Aw.jpg?format=400h_400w_4e_80q.webp',
						title: 'Rinnai烤箱'
					},
					{
						img: 'https://imgservice.suning.cn/uimg1/b2c/image/i75EduZtJh2XRIkgDHgfjA.jpg?format=400h_400w_4e_80q.webp',
						title: '嵌入式洗碗机'
					}
				]
			}
		},
		{
			img: 'https://img0.baidu.com/it/u=4122777170,1818508115&fm=253&fmt=auto&app=138&f=JPEG?w=1201&h=800',
			name: '京东家电',
			introduce: '-',
			distance: '7.1km',
			region: '京东家电(大西牛店)',
			phone: '-',
			detail: {
			img: 'https://img0.baidu.com/it/u=4122777170,1818508115&fm=253&fmt=auto&app=138&f=JPEG?w=1201&h=800',
				name: '京东家电',
				time: '06:00-21:30',
				phone: '-',
				price: 0,
				location: '松山区-205县道南30米',
				distance: '7.1km',
				singleList: [{
						img: 'https://img30.360buyimg.com/n7/jfs/t1/235830/3/28190/139444/67876669F1b59e782/62369cbfe4c547c7.jpg',
						title: '苏泊尔（SUPOR）电压力锅'
					},
					{
						img: 'https://img30.360buyimg.com/n7/jfs/t1/256793/5/10811/149549/6780da7eF495b2a4c/dd3f3651805e61e3.jpg',
						title: '米家小米智能变频微波炉P1'
					},
					{
						img: 'https://img30.360buyimg.com/n7/jfs/t1/256175/38/15087/189245/678e5c59F3631ca57/9c0e0d80be2d6a79.jpg',
						title: '美的（Midea）60升电热水器'
					},
					{
						img: 'https://img30.360buyimg.com/n7/jfs/t1/252927/38/14616/199966/678ba37cFeec0f5ce/b5360649902347e0.jpg',
						title: '美的（Midea）波轮洗衣机'
					},
					{
						img: 'https://img30.360buyimg.com/n7/jfs/t1/258975/2/13879/176600/678e1f76F4462d474/eede547cd9708e23.jpg',
						title: '美的（Midea）家用电冰箱MR-545WSPZE'
					}
				]
			}
		}
	
	],
	
	
	SHOPPING: [
		{
			img: '	https://img1.baidu.com/it/u=1404354412,3651452162&fm=253&fmt=auto&app=138&f=JPEG?w=667&h=500',
			name: '京东便利店',
			introduce: '-',
			distance: '3.1km',
			region: '京东便利店(康馨家园店)',
			phone: '17604864466',
			detail: {
			img: 'https://img1.baidu.com/it/u=1404354412,3651452162&fm=253&fmt=auto&app=138&f=JPEG?w=667&h=500',
				name: '京东便利店',
				time: '10:30-22:00',
				phone: '17604864466',
				price: 0,
				location: '红山区-西城街道康馨家园B05-1-101',
				distance: '3.1km',
				singleList: [{
						img: 'https://m.360buyimg.com/babel/jfs/t1/247508/4/9880/61648/66542495F2196f4e2/2b11ec111b315c16.jpg',
						title: '五粮液 普五八代 浓香型白酒 52度 500ml*6 原箱'
					},
					{
						img: 'https://m.360buyimg.com/babel/jfs/t1/202028/37/10468/161569/61612626Ef844547c/01d8490462bab919.jpg',
						title: '超能 洁净柔护(鲜艳亮丽)洗衣液 自然清香 1kg*1袋 温和不刺激'
					},
					{
						img: 'https://m.360buyimg.com/babel/jfs/t1/201466/10/12117/87308/616d9cdfEec546ff6/76cbcb377b7344d6.jpg',
						title: '维达（Vinda）无芯卷纸 超韧4层140克*12卷 加厚升级 卫生纸厕纸 卷筒纸纸巾'
					},
					{
						img: 'https://img1.baidu.com/it/u=1988447393,560185317&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500',
						title: '舒肤佳健康净护沐浴露 樱花香1kg 滋润保湿 男女士通用 新旧包装随机'
					},
					{
						img: 'https://t13.baidu.com/it/u=1674957449,3478348432&fm=224&app=112&f=JPEG?w=500&h=500',
						title: '湾仔码头上汤小云吞鲜美猪肉600g75只馄饨早餐夜宵速食冷冻混沌'
					}
				]
			}
		},
		{
			img: 'https://img2.baidu.com/it/u=4015424945,2313161106&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=1778',
			name: '锅圈食汇',
			introduce: '锅圈食汇是锅圈供应链（上海）有限公司（中外合资企业）旗下明星品牌，成立于2017年，是国内知名的火锅烧烤食材品牌，以火锅烧烤食材为主，涵盖方便自加热、中餐预制菜、生鲜、净菜、饮品、小吃、休闲零食、调味品、火锅器具、烧烤器具、当地特色食材等多个家庭食材品类，并逐步向家庭餐桌迈进，旨在成为全球最大的家庭食材食品企业。',
			distance: '6.6km',
			region: '锅圈食汇(万达店)',
				phone: '18047685000',
			detail: {
			img: 'https://img2.baidu.com/it/u=4015424945,2313161106&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=1778',
				name: '锅圈食汇',
				time: '09:00-22:300',
				phone: '18047685000',
				price: 0,
				location: '红山区-万达华城A区东门13-13商厅',
				distance: '6.6km',
				singleList: [{
						img: 'https://img13.360buyimg.com/n7/jfs/t1/188430/1/43064/201179/65fabd91F7d306cd1/9ebcc521d9936f58.jpg',
						title: '奥利奥（Oreo）夹心饼干 五口味混合装 388g '
					},
					{
						img: 'https://m.360buyimg.com/babel/jfs/t1/243061/40/20083/174498/670f6716Fd850b864/ff68bb2c4fd6aba6.jpg',
						title: '达利园法式软面包香奶味360g小包装学生充饥零食点心办公室早餐'
					},
					{
						img: 'https://m.360buyimg.com/babel/jfs/t1/224174/37/22880/80148/667cfadaF22b630a1/04545743841b9e8d.jpg',
						title: '姚小茶港式牛乳茶20g*6条/盒 原味阿萨姆奶茶丝袜奶茶粉小包装冲饮'
					},
					{
						img: '	https://m.360buyimg.com/babel/jfs/t1/193949/40/44116/176180/66120879F6d0c85b6/51d50817d354ac9e.jpg',
						title: '张飞 什锦牛肉200g 四川特产 旅游休闲零食小吃 八口味量贩混合装礼包烤箱'
					}
				]
			}
		},
		{
			img: 'https://img1.baidu.com/it/u=3131861607,2831989489&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=1067',
			name: '联华超市',
			introduce: '联华超市创建于1991年5月，是上海首家以发展连锁经营为特色的超市公司，目前联华已成为现今中国最大的商业零售企业，形成了大型综合超市（大卖场）、超级市场、便利店等多元业态联动互补的竞争优势。在上海、北京、天津、江苏、浙江、安徽、江西、广东、山东、山西、河南、河北、辽宁、吉林、新疆、内蒙等20多个省市和自治区的100多个城市建立了强大的连锁经营网络，是消费者最信赖的商业品牌',
			distance: '11.1km',
			region: '联华超市(宝山路店)',
			phone: '-',
			detail: {
			img: 'https://img1.baidu.com/it/u=3131861607,2831989489&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=1067',
				name: '联华超市',
				time: '06:00-21:30',
				phone: '-',
				price: 0,
				location: '元宝山区-宝山路赤峰市元宝山区医院西侧约90米',
				distance: '11.1km',
				singleList: [{
						img: 'https://m.360buyimg.com/babel/jfs/t1/237028/5/17556/50505/663f2058Ffddf35de/6bf4cb504fff5109.jpg',
						title: '迪士尼草莓熊公仔零食大礼包1131g过年货春节送女友生日礼物盒'
					},
					{
						img: 'https://m.360buyimg.com/babel/jfs/t1/244263/6/25746/87302/6743afdcFf253a21c/05cf6505c58fa9a9.jpg',
						title: '王小卤虎皮凤爪大卤桶459g零食礼盒礼桶含16包年货节日送礼公司团购茶歇'
					}
				]
			}
		}
	
	],
	
	
	HOTEL: [
		{
			img: 'https://dimg04.c-ctrip.com/images/1mc4412000e6czm98E6D7_R_600_400_R5_D.jpg',
			name: '汉庭酒店',
			introduce: '汉庭酒店是华住酒店集团的创始品牌。华住创始人季琦先生，在连续成功创办了携程旅行网（NASDAQ：CTRP）、如家快捷酒店（NASDAQ：HMIN）两家纳斯达克上市公司之后，于2005年第三次创业，推出汉庭酒店，并曾一度以汉庭命名集团，后于2012年正式启用华住作为集团名称。',
			distance: '3.1km',
			region: '汉庭酒店(长青街店)',
				phone: '+86-476-8227979-0',
			detail: {
			img: 'http://img.brand.iecity.com/Upload/brand/201904/11/20190411145223574.jpg',
				name: '汉庭酒店',
				time: '00:00-00:00',
				phone: '+86-476-8227979-0',
				price: 0,
				location: '红山区-长青街22号',
				distance: '3.1km',
				singleList: [{
						img: 'https://ak-d.tripcdn.com/images/1mc1v12000ac5enhh2019_R_400_200_R5.webp',
						title: '高级大床房'
					},
					{
						img: 'https://ak-d.tripcdn.com/images/1mc3m12000h39q3qg73A3_R_400_200_R5.webp',
						title: '双床房'
					},
					{
						img: 'https://ak-d.tripcdn.com/images/1mc4v12000e6ag81n0232_R_400_200_R5.webp',
						title: '家庭房'
					}
				]
			}
		},
		{
			img: 'https://dimg04.c-ctrip.com/images/1mc6312000bd0radr1710_R_600_400_R5_D.jpg',
			name: '维也纳酒店',
			introduce: '酒店是锦江集团旗下的一家中端商务连锁酒店，位于赤峰市红山区赤锡路20号，紧邻红山区政府，公安局、法院、检察院等行政单位。周边商业配套设施齐全，距离大型购物中心维多利广场和众联广场可步行，酒店对面更有广场、电影城、北京联华超市，可满足一切的生活所需。酒店拥有各类豪华客房，舒适典雅、愉梦之床、国际卫浴、健康美食、便捷、高性价比的经营特色，让您细心品味温馨、尽情感悟超值体验。酒店房间提供WIFI上网、自助洗衣、停车、24小时热水等各类设施。酒店位置佳，交通便捷，距玉龙机场仅30分钟车程，赤峰火车站10分钟车程。将充分缓解您在旅途中的劳顿，让温馨、舒适的环境带给您舒适的体验。',
			distance: '6.6km',
			region: '维也纳酒店(赤锡路店)',
				phone: '+86-476-5918999-0',
			detail: {
			img: 'https://dimg04.c-ctrip.com/images/1mc6312000bd0radr1710_R_600_400_R5_D.jpg',
				name: '维也纳酒店',
				time: '09:00-22:300',
				phone: '+86-476-5918999-0',
				price: 0,
				location: '红山区-赤锡路20号',
				distance: '6.6km',
				singleList: [{
						img: 'https://ak-d.tripcdn.com/images/1mc0312000bd7btxo3CEC_R_400_200_R5.webp',
						title: '豪华大床房'
					},
					{
						img: 'https://ak-d.tripcdn.com/images/1mc4q12000bd7apdlE4AC_R_400_200_R5.webp',
						title: '豪华双床房'
					},
					{
						img: 'https://ak-d.tripcdn.com/images/1mc6r12000fgadv5gA575_R_400_200_R5.webp',
						title: '行政大床房'
					},
					{
						img: 'https://ak-d.tripcdn.com/images/1mc5p12000bd7bba0BB13_R_400_200_R5.webp',
						title: '商务大床房'
					}
				]
			}
		},
		{
			img: 'https://dimg04.c-ctrip.com/images/0203e12000dcxldft781A_R_600_400_R5_D.jpg',
			name: '赤峰云朵酒店',
			introduce: '欢迎来到赤峰桥北云朵酒店，一处融合了舒适与优雅的智能住宿选择。我们是一家致力于提供高品质服务与设施的酒店，坐落于赤峰市的红山区桥北，地理位置优越，交通便利，是您商务、休闲、旅游的理想下榻之处。酒店特色1. 设施齐全：我们拥有全屋智能客控系统，高档的慕思品牌床垫，设施一流的餐厅和会议室，以及24小时服务。无论是商务出行还是休闲度假，这里都能满足您的需求。2. 优雅环境：酒店的设计风格以简约而高雅为主。3. 优质服务：我们的员工都经过专业的培训，致力于提供热情、周到的服务。无论您需要帮助，还是需要解决任何问题，我们都将竭诚为您服务。酒店设施 客房：我们提供多种类型的客房，包括云朵智能大床房，智能双床房，智能家庭房，智能休闲套房，所有房间都配备了现代化的设施和舒适的家具。餐厅：酒店内设有早餐厅，提供当地特色美食，满足您的口味。会议室：我们拥有一个设施齐全的会议室，适合举办各种规模的会议和活动。健身房：酒店内还设有设施一流的健身房，供客人锻炼。地理位置 附近商场：维多利摩尔城距离步行5分钟；众联广场步行5分钟；龙腾广场步行5分钟。附近医院：安定医院3分钟；骨科医院3分钟。机关单位：红山区政府步行5分钟；红山区公安局3分钟，红山区检察院3分钟；红山区法院3分钟。附近景区：红山公园驾驶车10分钟，植物园驾驶车15分钟；桥北动物园10分钟。',
			distance: '11.1km',
			region: '赤峰云朵酒店(维多利摩尔城店)',
			phone: '86-476-8866668',
			detail: {
			img: 'https://dimg04.c-ctrip.com/images/0203e12000dcxldft781A_R_600_400_R5_D.jpg',
				name: '赤峰云朵酒店',
				time: '06:00-21:30',
				phone: '86-476-8866668',
				price: 0,
				location: '红山区-龙头山路9号泽源大厦103号商铺',
				distance: '11.1km',
				singleList: [{
						img: 'https://ak-d.tripcdn.com/images/1mc6y12000d3m834157D6_R_400_200_R5.webp',
						title: '云朵丨 特惠大床房'
					},
					{
						img: 'https://ak-d.tripcdn.com/images/1mc6h12000d3m8tf32439_R_400_200_R5.webp',
						title: '云朵丨智慧大床房'
					},
					{
						img: 'https://ak-d.tripcdn.com/images/1mc2312000d3m9rsj6B63_R_400_200_R5.webp',
						title: '云朵丨豪华双床房'
					}
				]
			}
		}
	
	],
	
	SPORT: [
		{
			img: 'https://photo-meituan.cdn.bcebos.com/photo/170383577985c407182b6e2b2fb41626bf91728634',
			name: '十六英里健身',
			introduce: '-',
			distance: '3.1km',
			region: '十六英里健身·HT(赤峰宾馆店)',
				phone: '13614860083',
			detail: {
			img: 'https://photo-meituan.cdn.bcebos.com/photo/170383577985c407182b6e2b2fb41626bf91728634',
				name: '十六英里健身',
				time: '00:00-00:00',
				phone: '13614860083',
				price: 0,
				location: '红山区-昭乌达路赤峰宾馆鹤翔楼2楼',
				distance: '3.1km',
				singleList: [{
						img: 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQeFUu7vn-J-aDmTH0x57YJGhZ0wWTotdvCew&s',
						title: '跑步机区'
					},
					{
						img: 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRieGehe_hdbrhmNTTKjlRhmz4oUa3k9pKmsA&s',
						title: '1V1教学'
					},
					{
						img: 'https://poi-pic.cdn.bcebos.com/001/061_2df8ce38a5e9d30cba8754f34071497f.jpeg',
						title: '游泳区'
					}
				]
			}
		},
		{
			img: 'https://poi-pic-gz.cdn.bcebos.com/pic_1e05851e6891d37f1752f3f65eed9b67.jpeg',
			name: '新世力游泳健身',
			introduce: '',
			distance: '9.6km',
			region: '新世力游泳健身(铁南青橙店)',
				phone: '15174882882',
			detail: {
			img: 'https://poi-pic-gz.cdn.bcebos.com/pic_1e05851e6891d37f1752f3f65eed9b67.jpeg',
				name: '新世力游泳健身',
				time: '09:00-21:30',
				phone: '0476-5917034',
				price: 0,
				location: '红山区-铁南大街与宁澜路交叉口颐尚青橙公寓地下室一层',
				distance: '9.6km',
				singleList: [{
						img: 'https://photo-meituan.cdn.bcebos.com/photo/17370995948b288db6c109c6a7a2a9a4322b4be593',
						title: '游泳区'
					}
				]
			}
		},
		{
			img: 'https://taojin-pic-bj.cdn.bcebos.com/fc30aa92fea0d53e90df4775f6058244.jpeg',
			name: '奥赛塑体',
			introduce: '',
			distance: '17.1km',
			region: '奥赛塑体(万悦店)',
				phone: '0476-5962345',
			detail: {
			img: 'https://taojin-pic-bj.cdn.bcebos.com/fc30aa92fea0d53e90df4775f6058244.jpeg',
				name: '奥赛塑体',
				time: '06:00-21:30',
				phone: '0476-5962345',
				price: 0,
				location: '红山区-哈达街万悦城5楼F502号',
				distance: '17.1km',
				singleList: [{
						img: 'https://se-feed-bucket.cdn.bcebos.com/pic_all/dianping_237122034_img1.jpg',
						title: '健身区'
					}
				]
			}
		}
	
	],

}

export const DATATEST: TestData = mockTestData as TestData
export const mockBillList: anyItem[] = [
	...mockTestData['MEISHI'],
	...mockTestData['DIANZI'],
	...mockTestData['SHOPPING'],
	...mockTestData['SPORT'],
	...mockTestData['HOTEL']
]

export const mockCollectionList: anyItem[] = [
	...mockTestData['MEISHI']
]
export const mockMyOrderList: anyItem[] = [
	...mockTestData['MEISHI'],
	...mockTestData['DIANZI'],
	...mockTestData['SHOPPING']
]
export function fetchBillList() {
	const newItems = Array(10).fill(null).map((_, index) => {
		const time = (Math.floor(Math.random() * 24) + 1) + ':' + (Math.floor(Math.random() * 60) + 1)
		const randomNum = Math.floor(Math.random() * mockBillList.length)
		const data = mockBillList[randomNum]
		const Num = Math.floor(Math.random() * (1000 - 10 + 1)) + 10
		const date = new Date()
		const year = date.getFullYear()
		const month = date.getMonth() + 1
		return {
			time: `${month}月6日 ${time}`,
			amount:Num,
			icon: data.img,
			name: data.name
		}
	})
	return newItems;
}

export function fetchIntegalList() {
		const newItems = Array(10).fill(null).map((_, index) => {
		const time = (Math.floor(Math.random() * 24) + 1) + ':' + (Math.floor(Math.random() * 60) + 1)
		const randomNum = Math.floor(Math.random() * mockBillList.length)
		const data = mockBillList[randomNum]
		const Num = Math.floor(Math.random() * (100 - 10 + 1)) + 10
		let type = '积分返现'
		if(Num % 2 === 0) type = '积分支出'
		const date = new Date()
		const month = date.getMonth() + 1
		return {
			time: `${month}月6日 ${time}`,
			amount: Num,
			icon: data.img,
			name: data.name,
			type: type
		}
	})
	return newItems;
}
export function mockorderListData() {
	const sportlist: anyItem[] = []
	let isPlun = false
	mockBillList.forEach((el, idx) => {
	  const Num = Math.floor(Math.random() * (1000 - 10 + 1)) + 10
	  const time = '2024-' + (Math.floor(Math.random() * 12) + 1) + '-26'
	  let status = Math.floor(Math.random() * 3)
	  if (status === 1) isPlun = true
	  const result: anyItem = {
	    title: el.region,
	    status,
	    orderNo: new Date().getTime() + idx,
	    consumeTime: time,
	    time_number: new Date(time).getTime(),
	    price: Num,
	    actualPrice: Num - (Num * 0.2),
	    points: Math.round(Num * 0.1),
	    image: el.img,
	  }
	  sportlist.push(result)
	})
	if (!isPlun) sportlist[0].status = 1
	sportlist.sort((a, b) => b.time_number - a.time_number)
	return sportlist
}





